package com.fourth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author 22732
 */
public interface UserDao extends BaseMapper<UserInfo> {
	@Select("update u_user_info set  password=#{newPassword1}  WHERE telephone=#{telephone}")
	void updatePassword(@Param("telephone") String telephone,@Param("newPassword1") String newPassword1);
}
